<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>管理</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <script src="../../../../lib/include.js"></script>

    <style>
        .form-control:focus,
        .single-line:focus {
            border-color: #0e9aef !important;
        }

        .checkbox-inline {
            line-height: 5px;
        }

        .search {
            width: 25%;
        }
        .layui-layer.layui-anim.layui-layer-page  {
            width: 550px!important;
        }
        /* 设置搜索框宽度 */
    </style>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content" id="app" v-cloak>
    <div class="ibox float-e-margins">
        <div class="ibox-content">
            <div class="row row-lg">

                <div class="example" style="margin-top: -10px;">
                    <div class="btn-group" id="toolbar" role="group">
                        <button type="button" class="btn btn-outline btn-default" @click="add(0)" v-if="permission(0)">
                            <i class="glyphicon glyphicon-plus" aria-hidden="true"></i>
                            添加
                        </button>
                        <button type="button" class="btn btn-outline btn-default" @click="update(1)"
                                v-if="permission(1)">
                            <i class="glyphicon glyphicon-pencil" aria-hidden="true"></i>
                            修改
                        </button>
                        <button type="button" class="btn btn-outline btn-default" @click="del(2)" v-if="permission(2)">
                            <i class="glyphicon glyphicon-trash" aria-hidden="true"></i>
                            删除
                        </button>
                        <button type="button" class="btn btn-outline btn-default" @click="push(3)" v-if="permission(3)">
                            <i class="glyphicon glyphicon-send" aria-hidden="true"></i>
                            发布
                        </button>
                    </div>
                    <table id="bootstrapTableEvents"></table>
                </div>

            </div>
        </div>
    </div>

    <div class="ibox float-e-margins" id="select" style="display: none">
        <div class="form-group">
            <label class="col-sm-3 control-label">发布类型</label>
            <div class="col-sm-9">
                <label v-for="(item,index) in selects" style="margin-bottom: 10px;margin-right: 10px">
                    <input type="radio" name="pushType" :value="item.keyS"> {{item.keyValue}}
                </label>
            </div>
        </div>
        <div class="form-group" v-if="showBroadcast">
            <label class="col-sm-3 control-label">是否广播发布</label>
            <div class="col-sm-9">
                <label class="radio-inline i-checks">
                    <input type="radio" name="isBroadcast" value="1" > 广播
                </label>
                <label class="radio-inline i-checks">
                    <input type="radio" name="isBroadcast" value="0" checked> 不广播
                </label>
            </div>
        </div>
        <div class="form-group" style="text-align: center;padding-top: 10px;clear: both">
            <a href="javascript:layer.closeAll();" class="btn btn-default" >关 闭</a>
            <button type="submit" class="btn btn-primary" @click="pushArt(3)">发 布</button>
        </div>
    </div>

</div>
<script src="../../../../js/content-manage/article/material/list.js"></script>
</body>
</html>
